#ifndef DPM_SERVICE_H
#define DPM_SERVICE_H

#include <QObject>
#include "datamonitoringanalysis.h"
#include "dpm_config.h"
#include "hg_devicedataserver.h"


class DPM_Service : public QObject
{
    Q_OBJECT
public:
    explicit DPM_Service(QObject *parent = nullptr);

    DPM_Config * config;
    DataMonitoringAnalysis *DMA;
   // TcpClient  *client;
    HG_DeviceDataServer * client;

signals:

public slots:
    void nMessage(const QString& datas);

    QObject* getConfig(){return config;}

};

#endif // DPM_SERVICE_H
